<?php
namespace common\models\userReceipt;

use common\models\Common;
use common\models\user\User;
/**
 * Class EmployeeInfo
 * @package api\modules\v1\models\employee
 */
class ReceiptBank extends Common
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return '{{%user_receipt_bank}}';
    }
    
    public function getUser() {
        return $this->hasOne(User::className(), ['id' => 'user_id']);
    }
}
